package com.caifu.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yb
 * @since 2021-03-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class YsShopReportRecord extends Model<YsShopReportRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 导入文件名称
     */
    private String reportName;

    /**
     * 导入时间
     */
    @JSONField(format = "yyyy/MM/dd HH:mm:ss")
    private Date createTime;

    /**
     * 操作人员id(关联sys_user)
     */
    private Integer operationUserId;

    /**
     * 导入结果
     */
    private String importResult;

    /**
     * 小区id（SysOrganization的id）
     */
    private String orgId;

    @TableField(exist = false)
    private String sysUserName;


    /**
     * 成功数量
     */
    @TableField(exist = false)
    private Integer successCount;
    /**
     * 失败数量
     */
    @TableField(exist = false)
    private Integer failCount;



}
